package skiplist;

import java.util.Set;

public interface SkipList<E extends Comparable<? super E>> extends Set<E> {

	/**
	 * Adds an element using a given level.
	 * 
	 * @param elementToAdd
	 *            The element to add
	 * @param nodeLevel
	 *            The level to use
	 * @return Whether the insert operation was successful
	 */
	boolean add(final E elementToAdd, final int nodeLevel);

}